package com.gaofei.mongo.dao;

import com.gaofei.mongo.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author : gaofee
 * @date : 14:13 2021/5/26
 * @码云地址 : https://gitee.com/itgaofee
 *
 * 此时这个userdao就具备了,CRUD的简单方法
 */
public interface UserDao extends MongoRepository<User,Long> {

    List<User> findUserByNameIsLike(String name);
}
